var express = require('express');
var router = express.Router();
const db = require('../db/connect');


/* GET users listing. */
db.query('SELECT * from user_list', [], function(result, fields) {
     router.get('/', function(req, res, next) {
        // res.send(result);
        res.render('wklogin.ejs')
     });
});

module.exports = router;
